class CreateCulturalHeritageCollectionPhotos < ActiveRecord::Migration
  def self.up
    create_table :cultural_heritage_collection_photos do |t|
      t.integer :collection
      t.string :title
      t.string :description
      t.string :photo_file_name
      t.string :photo_content_type
      t.integer :photo_file_size
      t.datetime :photo_updated_at
      t.integer :deleted, :default => 0

      t.timestamps
    end
  end

  def self.down
    drop_table :cultural_heritage_collection_photos
  end
end
